home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000191_fdc@watsun.cc.columbia.edu_Mon Dec 3 09:54:24 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  33 lines

  1. Article: 13014 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Problems with C-Kermit, modems, Unix, dialling....
  6. Date: 3 Dec 2001 14:31:35 GMT
  7. Organization: Columbia University
  8. Lines: 16
  9. Message-ID: <9ug2c7$sko$1@newsmaster.cc.columbia.edu>
  10. References: <3c075082.1810713@news.ision.net.uk> <3C0ABA43.20004@adelaide.edu.au> <9ueg27$54d$1@newsmaster.cc.columbia.edu> <3C0AE075.3000601@adelaide.edu.au>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1007389895 29336 128.59.39.2 (3 Dec 2001 14:31:35 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 3 Dec 2001 14:31:35 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13014
  16.  
  17. In article <3C0AE075.3000601@adelaide.edu.au>,
  18. Arthur Marsh  <arthur.marsh@adelaide.edu.au> wrote:
  19. : No, C-Kermit's run uses the shell currently defined for the user. If 
  20. : C-Kermit is defined as the login shell (useful for some situations), 
  21. : there isn't access to running other executables from within C-Kermit, 
  22. : hence the need for system(3) which uses /bin/sh regardless of the user's 
  23. : login shell.
  24. For that you can do:
  25.  
  26.   run /bin/sh -c "command arg1 arg2 ..."
  27.  
  28. Having separate RUN commands that select the user's preferred shell vs
  29. /bin/sh would be no less obscure than this.
  30.  
  31. - Frank
  32.